<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>[%$array.Name%]</title>
<link href="[%$url%]templates/greenhotel/style/order.css?v=[%$softversion%]" rel="stylesheet" type="text/css" />
<script type="text/javascript">var dcode = "[%$dcode%]",dcity = "[%$dcity%]",siteurl = "[%$url%]";</script>
<script type="text/javascript" src="[%$url%]templates/greenhotel/js/jquery.js?v=[%$softversion%]"></script>
<script type="text/javascript" src="[%$url%]templates/greenhotel/js/common.js?v=[%$softversion%]"></script>
<script type="text/javascript" src="[%$url%]templates/greenhotel/js/garantee.js?v=[%$softversion%]"></script>
<script type="text/javascript" src="[%$url%]templates/greenhotel/js/order.js?v=[%$softversion%]"></script>
<script type="text/javascript" src="[%$url%]js/calendar.js?v=[%$softversion%]"></script>
<script type="text/javascript">
var active_menu = "index";
var hotelGaranteeRule = [%$jsonrule%];
for(var i=0;i<hotelGaranteeRule.length;i++) {
	hotelGaranteeRule[i].ActivationDate = new Date(hotelGaranteeRule[i].ActivationDate * 1000);
	hotelGaranteeRule[i].ExpirationDate = new Date(hotelGaranteeRule[i].ExpirationDate * 1000);
	hotelGaranteeRule[i].ArriveStartTime = new Date(hotelGaranteeRule[i].ArriveStartTime * 1000);
	hotelGaranteeRule[i].ArriveEndTime = new Date(hotelGaranteeRule[i].ArriveEndTime * 1000);
	hotelGaranteeRule[i].ChangeRuleDate = new Date(hotelGaranteeRule[i].ChangeRuleDate * 1000);
}
var param_integral = "[%$varintegral%]";
</script>
</head>

<body>
[%include file="greenhotel/cn/public/head.html"%]
<div id="searchtips">您的订单正在处理中，本过程可能需要几分钟的时间，请耐心等待...</div>
<div id="hotelorder">
	<div class="maxWidth" id="bodytext"> <a name="order"></a>
		<div class="t">
			<div class="l"></div>
			<div class="c">
				<h3>填写订单</h3>
			</div>
			<div class="r"></div>
		</div>
		<div class="clearfix ordercontent">
			<div class="orderright">
				<dl class="room">
					<dt>确认客房信息</dt>
					<dd>房型名称：[%$rooms.Name%] [[%$rooms.RatePlans%]]
						<input type="hidden" id="hid" name="hid" value="[%$param.hotelCode%]" />
						<input type="hidden" id="rid" name="rid" value="[%$param.roomCode%]" />
						<input type="hidden" id="pid" name="pid" value="[%$param.roomRatePlan%]" />
					</dd>
					<!--
                    <dd>房型名称：<select id="rid_pid" name="rid_pid" jQuery1305683413143="3">
<option value="1022,32980">标准房A [不含早,均价268]</option>
<option selected="" value="1025,32980">商务大床房B [不含早,均价238]</option>
<option value="1027,46180">特惠大床房（无窗） [含单早,均价218]</option>
<option value="1028,32980">经济间（无窗） [不含早,均价188]</option>
<option value="1030,32980">套房 [不含早,均价308]</option>
<option value="1031,32980">大床房（小窗） [不含早,均价248]</option>
<option value="1033,32980">标准间B [不含早,均价238]</option>
</select></dd>-->
					<dd>房型信息：<span>[%$rooms.Note%]</span></dd>
                    [%if $array.AvailPolicy !=""%]<dd style="padding-left:75px;"><span style="color:#e26000;">[%$array.AvailPolicy%]</span></dd>[%/if%]
					<dd>房间数量：
						<select id="roomnum" name="roomnum" style="width:60px;">
							<option value="1"[%if $param.roomCount == 1%] selected="selected"[%/if%]>1</option>
							<option value="2"[%if $param.roomCount == 2%] selected="selected"[%/if%]>2</option>
							<option value="3"[%if $param.roomCount == 3%] selected="selected"[%/if%]>3</option>
							<option value="4"[%if $param.roomCount == 4%] selected="selected"[%/if%]>4</option>
							<option value="5"[%if $param.roomCount == 5%] selected="selected"[%/if%]>5</option>
						</select>
						间</dd>
					<dd>入住日期：
						<input id="tm1" type="text" name="tm1" value="[%$param.checkInDate%]" title="选择入住日期" class="infoInput" />
						<div id="tm1tips" class="tm1tips"></div>
						离店日期：
						<input id="tm2" type="text" name="tm2" value="[%$param.checkOutDate%]" title="选择退房日期" class="infoInput" />
						<div id="tm2tips" class="tm2tips"></div>
					</dd>
					<dd>应付金额：<b id="myfees">[%$allfullyFees%]元</b><span>(预订免费，入住后酒店前台付款)</span>[%if $mem_isintegral==1%]　　可获得积分：<b id="integral">[%$integral%]分</b>[%/if%]
						<input type="hidden" id="fullfees" name="fullfees" value="[%$fullfees%]" />
						<input type="hidden" id="allfullfees" name="allfullfees" value="[%$allfullyFees%]" />
						<input type="hidden" id="firstNightFees" name="firstNightFees" value="[%$firstNightFees%]" />
						<input type="hidden" id="dbtm2" name="dbtm2" value="[%$param.checkOutDate%]" />
					</dd>
					<dd>
						<table>
							[%$rates%]
						</table>
					</dd>
				</dl>
				<div class="clearLine"></div>
               [%if $array.NonBookingPercentage>0%] <div id="nobookdiv">对不起，该房型已经满房，请你选择其它房型预订。</div>[%/if%]
				<dl class="check"[%if $array.NonBookingPercentage>0%] style="display:none;"[%/if%]>
					<dt>入住信息</dt>
					<dd>　入住人：<span id="guest">
						<input id="guestname" type="text" name="guestname" value="[%$user.nickname%]" class="infoInput" />
						</span><span class="tips">&nbsp;*</span><br /> <span class="tips">每个房间只填写一人姓名即可，为避免耽误您的行程，请务必保证所提供的入住人姓名与入住时所持证件上的姓名一致</span> </dd>
					<dd>　联系人：
						<input id="contactname" type="text" name="contactname" value="[%$user.nickname%]" class="infoInput" />
						<span class="tips">&nbsp;*</span> 　　E-mail：
						<input id="contactemail" type="text" name="contactemail" value="[%$user.email%]" class="infoInput" /> 
					</dd>
                    <dd>　手机号：
						<input id="contactmobile" type="text" name="contactmobile" value="[%$user.username%]" class="infoInput" />
						<span class="tips">&nbsp;*</span> 　　[%if $logined=="no"%]<input type="checkbox" id="reg" name="reg" checked="checked" value="yes" /> <font color="#e26000">同时注册为会员，享受积分优惠</font> [%else%]<input type="checkbox" id="reg" name="reg" style="display:none;" value="no" />[%/if%]
                    </dd>
					[%if $rule == ''%]
					<dd>到酒店时间：
						<input type="radio" id="arrvialearly" name="arriveTime" value="20:00" />
						20:00分以前
						<input type="radio" id="arrviallate" name="arriveTime" value="20:00" />
						20:00-次日06：00
						[%else%]
					<dd>到酒店时间：
						<input type="radio" id="arrvialearly" name="arriveTime" value="[%$arrive.ArriveStartTime%]" />
						[%$arrive.ArriveStartTime%]以前　　　
						<input type="radio" id="arrviallate" name="arriveTime" value="[%$arrive.ArriveStartTime2%]" />
                        [%$arrive.ArriveStartTime%]-次日[%$arrive.ArriveEndTime%]
						[%/if%]
						[%if $rule != ''%](此酒店需要信用卡担保，担保金额：<em id="qeetext">[%if $Deposit==1%]¥[%$firstNightFees%][%elseif $Deposit==2%]¥[%$allfullyFees%][%/if%]</em>元) <br />[%/if%]<span>(通常酒店14点办理入住，早到可能需要等待)</span></dd>
					<dd>备注信息：
						<textarea id="note" name="note" cols="40" rows="3"></textarea>
						<input type="hidden" id="rule" name="rule" value='[%$jsonrule%]' />
						<input type="hidden" id="deposit" name="deposit" value="[%$Deposit%]" />
						<input type="hidden" id="linkurl" name="linkurl" value="[%$linkurl%]" />
						<input type="hidden" id="hotelinfo" name="hotelinfo" value='[%$jsoninfo%]' />
					</dd>
				</dl>
				<dl class="check" id="checkguarantee" style="display:none;">
					<dt>信用卡担保
						<input type="hidden" id="ischeckguarantee" name="ischeckguarantee" value="" />
					</dt>
					<dd><label>担保规则:</label><span id="ruleguarantee" style="color:#e26000;"></span></dd>
					<dd><label>信用卡号：</label>
						<input type="text" id="pu_cardno" name="pu_cardno" class="infoInput2" value="" />
						<span class="tips">&nbsp;*</span><span> 输入全部信用卡号码</span></dd>
					<dd><label>有效期：</label>
						<select style="WIDTH: 80px" id="pu_year" name="pu_year">
							<option selected="" value="2011">2011年</option>
							<option value="2012">2012年</option>
							<option value="2013">2013年</option>
							<option value="2014">2014年</option>
							<option value="2015">2015年</option>
							<option value="2016">2016年</option>
							<option value="2017">2017年</option>
							<option value="2018">2018年</option>
						</select>
						/
						<select style="WIDTH: 62px" id="pu_month" name="pu_month">
							<option selected="" value="01">1月</option>
							<option value="02">2月</option>
							<option value="03">3月</option>
							<option value="04">4月</option>
							<option value="05">5月</option>
							<option value="06">6月</option>
							<option value="07">7月</option>
							<option value="08">8月</option>
							<option value="09">9月</option>
							<option value="10">10月</option>
							<option value="11">11月</option>
							<option value="12">12月</option>
						</select>
						<span class="tips">&nbsp;*</span><span> 只接受有效期为当前月份之后的信用卡</span></dd>
					<dd><label>CVV2码：</label>
						<input type="text" id="pu_code" name="pu_code" class="infoInput" value="" />
						<span class="tips">&nbsp;*</span><span> 在信用卡背面的签名栏上，紧跟在卡号末四位号码的后面印刷的3位数字，注意目前不支持商务信用卡</span></dd>
					<dd><label>持卡人姓名：</label>
						<input type="text" id="pu_name" name="pu_name" class="infoInput" value="" />
						<span class="tips">&nbsp;*</span><span> 请输入持卡人姓名</span></dd>
					<dd><label>证件类型：</label>
						<select style="WIDTH: 80px" id="pu_idtype" name="pu_idtype">
							<option value="0" selected="selected">身份证</option>
							<option value="1">护照</option>
							<option value="2">其他</option>
						</select>
						<span class="tips">&nbsp;*</span><span> 申请信用卡时的证件类型</span></dd>
					<dd><label>证件号码：</label>
						<input type="text" id="pu_idno" name="pu_idno" class="infoInput2" value="" />
						<span class="tips">&nbsp;*</span><span> 申请信用卡时填写的证件号码</span></dd>
					<dd class="terms">请仔细阅读以下条款，全部同意后填写信用卡信息： <br /> 担保预订操作过程：您提交信用卡担保订单后，将通过发卡行审核您的信用卡信息。如您提供的信用卡信息经核实无误，向酒店提供担保为您预订房间，酒店确认房间后，我们会及时给您做出确认；如您提供的信用卡信息错误，没有通过系统审核，则您无法预订酒店。 <br /> 担保预订的入住：接到本网站通知您预订成功确认的信息后，酒店将为您把房间保留到预订入住次日中午12:00。 <br /> 担保预订的责任： <br /> 1. <span id="dbdesc">[%$checkguarantee%]</span><br /> 2. 
						未入住之房费负担：信用卡担保预订经我们确认后酒店即为您保留房间。如您到时未入住，我们有权在信用卡内扣除您所担保的房费金额。<br /> 3. 
						您到酒店入住时报订单上的入住人姓名，酒店会为您办理入住手续，房费是您到酒店前台现付的，在您离店后的7个工作日内，我们会向银行申请为您的信用卡解除冻结金额。如有任何问题，请联系我们。</dd>
				</dl>
				<div class="clearLine"></div>
				<dl>
                [%if $array.NonBookingPercentage<=0%]
					<dd>
						<input type="hidden" id="ordertoken" name="ordertoken" value="[%$ordertoken%]" />
						<input type="button" id="ordersubmit" class="ordersubmit" name="ordersubmit" value="" />
					</dd>
                [%/if%]
					<dd><span class="beizhu">注：如需发票，请从酒店前台索取</span></dd>
					<dd> <span class="beizhu">如果您在预订过程中遇到问题，请致电24小时服务电话[%$ordertel%]</span></dd>
				</dl>
				<div class="clearLine"></div>
			</div>
			<div class="orderleft">
				<div class="hotelinfo">
					<div class="img">[%if $array.Thumbnail !=''%]<a href="[%$hotelurl%]" target="_blank"><img src="[%$array.Thumbnail%]" /></a>[%else%]<img src="/templates/greenhotel/images/search_pic_m.gif" />[%/if%]</div>
					<dl class="infotext">
						<dd><h3><a href="[%$hotelurl%]" target="_blank">
							[%$array.Name%]
							</a></h3></dd>
						[%if $array.Category > 0%]
						<dd style=" margin-top:10px;"> [%$array.Category|getstar(0)%] </dd>
						[%/if%]
						<dd></dd>
					</dl>
					<div class="clearLine"></div>
					<dl class="roominfo">
						<dd>地址：[%$array.Address%]</dd>
						<dd>房型：[%$rooms.Name%]</dd>
						<dd>床型：[%$rooms.BedDescription%]</dd>
						<dd>早餐：[%$rooms.RatePlans%]</dd>
						<dd>宽带：宽带[[%if $rooms.Broadband == 1%] 
							收费
							[%elseif $rooms.Broadband == 2%]
							免费
							[%else%] 
							无
							[%/if%]]</dd>
                         [%if $rooms.Area > 0%]<dd>面积：[%$rooms.Area%]平米</dd>[%/if%]
					</dl>
					<div class="clearLine"></div>
					<dl class="other">
						<dt>为什么选择[%$lngpack.sitename%]？</dt>
						<dd>不收预订费，更优惠的房价</dd>
						<dd>每天售出超过40000间客房</dd>
						<dd>为1000万消费者提供过服务</dd>
						<dd>服务满意度超过99.7%</dd>
					</dl>
				</div>
				<div class="clearLine"></div>
			</div>
		</div>
		<div class="f"></div>
	</div>
	<div class="maxWidth">
		<div id="success" class="success">
			<div class="ordertitle">订单已提交</div>
			<dl>
				<dt><span id="text_guestname"></span>先生/女士，您的订单已提交，订单号：<span id="orderid"></span>　正在为您处理...</dt>
				<dd>您可以在"订单管理"中查到此订单详细信息以及处理状态 </dd>
				<dd>如果您所填写的手机号码或入住人信息有误，此订单将被自动被取消 </dd>
				<dd>因订单是否预订成功是通过短信和邮件的形式告知您的，请保持您的通讯工具为可联系状态（手机为开机状态）或者关注下表中订单状态</dd>
			</dl>
			<table>
				<tr class="title">
					<td class="s1">订单号：</td>
					<td class="s2" id="text_orderid"></td>
					<td class="s1">总计费用：</td>
					<td class="s2" id="text_allfees" style="color:#f00; font-weight:bold;">[%$allfullyFees%]</td>
				</tr>
				<tr class="title">
					<td class="s1">酒店名称：</td>
					<td class="s2" id="text_hotelname">[%$array.Name%]</td>
					<td class="s1">入住日期：</td>
					<td class="s2" id="text_tm1">[%$param.checkInDate%]</td>
				</tr>
				<tr class="title">
					<td class="s1">客房类型：</td>
					<td class="s2" id="text_type">[%$rooms.Name%]</td>
					<td class="s1">离店日期：</td>
					<td class="s2" id="text_tm2">[%$param.checkOutDate%]</td>
				</tr>
				<tr class="title">
					<td class="s1">房间数量：</td>
					<td class="s2" id="text_roomnum"></td>
					<td class="s1">到店时间：</td>
					<td class="s2" id="text_time">18:00</td>
				</tr>
				<tr class="title">
					<td class="s1">酒店地址：</td>
					<td colspan="3" style="width:85%; text-align:left;" id="text_addr">[%$array.Address%]</td>
				</tr>
			</table>
		</div>
		<div id="failure" class="failure">
			<div class="failtext">订单处理失败</div>
			<div class="errtext"><br /><br />对不起，订单处理失败，请与我们客服联系：24小时预订电话：[%$ordertel%]<br /><br /></div>
		</div>
	</div>
</div>
[%include file="greenhotel/cn/public/footer.html"%]
</body>
</html>
